Skip to content

Extend map with some addons#6

Open
nicodh wants to merge 6 commits into
deltachat:mainfrom
nicodh:map-addons
Open

Extend map with some addons#6
nicodh wants to merge 6 commits into
deltachat:mainfrom
nicodh:map-addons

Conversation

@nicodh
Copy link
Copy Markdown
Member

@nicodh nicodh commented Aug 29, 2025

  • a settings overlay to toggle various feature
  • an overlay to show the position of each contact
  • an overlay to show the position of each POI
  • a selector to switch to different map tile services (disabled in desktop since desktop needs some changes to allow to access the different map tile services Maps with own session deltachat-desktop#5455)
image

Jump to last location of a contact:
image

Jump to a POI
image

Includes PR #1 (slightly refactored) TBD: we probably should ship only a few services. It#s very easy to extend the mapServices

image

This is a zip file of this webxdc map. Needs to be extracted and uploaded in "Saved messages" to replace the integrated map.

deltachat-map-webxdc.xdc.zip

nicodh added 5 commits August 29, 2025 23:31
- an overlay to show the position of each contact
- an overlay to show the position of each POI
- a selector to switch to different map tile services
- reduce services list
- add new icon
- refactor var => const/let
@nicodh
Copy link
Copy Markdown
Member Author

nicodh commented May 6, 2026

It should be mentioned that #10 is based on this one. If we decide to got for leaflet 2.0.0 testing should maybe happen in the other branch

@wchen342
Copy link
Copy Markdown

wchen342 commented May 8, 2026

I have tested it on Android, the map itself works fine and the contact list is very useful.

The only nit is it seems POI will only be added to my own map if the other party is online, otherwise it won't show up on the map, only send the message. Otherwise, everything looks good.

@nicodh
Copy link
Copy Markdown
Member Author

nicodh commented May 9, 2026

I have tested it on Android, the map itself works fine and the contact list is very useful.

The only nit is it seems POI will only be added to my own map if the other party is online, otherwise it won't show up on the map, only send the message. Otherwise, everything looks good.

Can you explain what you mean? You mean if the other party added the POI when you were offline? And you don't get it if the other party is offline when you go online?

I tested various scenarios and couldn't reproduce that

@wchen342
Copy link
Copy Markdown

It was when I tried to send POI to another user, not receiving. However, I tested again today and it worked, so I am not sure what was happening before. Probably some strange edge case which I guess can be ignored for now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants